﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "MESSAGE_TABLE", DisableSyncStructure = true)]
	public partial class MESSAGETABLE {

		[JsonProperty, Column(Name = "TAB_ID", DbType = "NUMBER(22)", IsPrimary = true)]
		public decimal TABID { get; set; }

		/// <summary>
		/// 消息信息
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK1 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK10 { get; set; }

		/// <summary>
		/// 医生编码
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK11 { get; set; }

		/// <summary>
		/// 消息类型
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK12 { get; set; }

		/// <summary>
		/// 发送人
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK13 { get; set; }

		/// <summary>
		/// 服务端/管理端
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK14 { get; set; }

		/// <summary>
		/// 病人类型(住院/门诊)
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK15 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK16 { get; set; }

		/// <summary>
		/// 发送日期
		/// </summary>
		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime? BAK17 { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime? BAK18 { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)", InsertValueSql = "NULL")]
		public DateTime? BAK19 { get; set; }

		/// <summary>
		/// 状态
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK2 { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime? BAK20 { get; set; }

		/// <summary>
		/// 科室
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK3 { get; set; }

		/// <summary>
		/// 医生姓名
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK4 { get; set; }

		/// <summary>
		/// 住院号/门诊号
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK5 { get; set; }

		/// <summary>
		/// 病人姓名
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK6 { get; set; }

		/// <summary>
		/// 住院次数
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK7 { get; set; }

		/// <summary>
		/// 性别
		/// </summary>
		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK8 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string BAK9 { get; set; }

	}

}
